package com.item.yxlottery.yxlottery.bean;

/*
 *------------------------------
 * @创建者      Administrator
 * @创建时间    2017/1/3 16:01
 * @文件描述    
 *------------------------------
 */

import android.os.Parcel;
import android.os.Parcelable;

public class StoreBean implements Parcelable {
    private String storeId;//店铺ID
    private String storeName;//店铺名称
    private String areaInfo;//省市
    private String storeAddress;//详细地址
    private String storeBanner;//店铺横幅图
    private String storeLogo;//店铺logo
    private String description;//店铺描述
    private String distance;//距离
    private String sales;//销量
    private String orders;//下订单人数
    private String followers;//关注人数

    public StoreBean() {
    }

    public StoreBean(String storeId, String storeName, String areaInfo, String storeAddress, String storeBanner, String storeLogo,
                     String description, String distance, String sales, String orders, String followers) {
        this.storeId = storeId;
        this.storeName = storeName;
        this.areaInfo = areaInfo;
        this.storeAddress = storeAddress;
        this.storeBanner = storeBanner;
        this.storeLogo = storeLogo;
        this.description = description;
        this.distance = distance;
        this.sales = sales;
        this.orders = orders;
        this.followers = followers;
    }

    public String getStoreId() {
        return storeId;
    }

    public void setStoreId(String storeId) {
        this.storeId = storeId;
    }

    public String getStoreName() {
        return storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    public String getAreaInfo() {
        return areaInfo;
    }

    public void setAreaInfo(String areaInfo) {
        this.areaInfo = areaInfo;
    }

    public String getStoreAddress() {
        return storeAddress;
    }

    public void setStoreAddress(String storeAddress) {
        this.storeAddress = storeAddress;
    }

    public String getStoreBanner() {
        return storeBanner;
    }

    public void setStoreBanner(String storeBanner) {
        this.storeBanner = storeBanner;
    }

    public String getStoreLogo() {
        return storeLogo;
    }

    public void setStoreLogo(String storeLogo) {
        this.storeLogo = storeLogo;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getDistance() {
        return distance;
    }

    public void setDistance(String distance) {
        this.distance = distance;
    }

    public String getSales() {
        return sales;
    }

    public void setSales(String sales) {
        this.sales = sales;
    }

    public String getOrders() {
        return orders;
    }

    public void setOrders(String orders) {
        this.orders = orders;
    }

    public String getFollowers() {
        return followers;
    }

    public void setFollowers(String followers) {
        this.followers = followers;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.storeId);
        dest.writeString(this.storeName);
        dest.writeString(this.areaInfo);
        dest.writeString(this.storeAddress);
        dest.writeString(this.storeBanner);
        dest.writeString(this.storeLogo);
        dest.writeString(this.description);
        dest.writeString(this.distance);
        dest.writeString(this.sales);
        dest.writeString(this.orders);
        dest.writeString(this.followers);
    }

    protected StoreBean(Parcel in) {
        this.storeId = in.readString();
        this.storeName = in.readString();
        this.areaInfo = in.readString();
        this.storeAddress = in.readString();
        this.storeBanner = in.readString();
        this.storeLogo = in.readString();
        this.description = in.readString();
        this.distance = in.readString();
        this.sales = in.readString();
        this.orders = in.readString();
        this.followers = in.readString();
    }

    public static final Creator<StoreBean> CREATOR = new Creator<StoreBean>() {
        @Override
        public StoreBean createFromParcel(Parcel source) {
            return new StoreBean(source);
        }

        @Override
        public StoreBean[] newArray(int size) {
            return new StoreBean[size];
        }
    };

    @Override
    public String toString() {
        return "StoreBean{" +
                "storeId='" + storeId + '\'' +
                ", storeName='" + storeName + '\'' +
                ", areaInfo='" + areaInfo + '\'' +
                ", storeAddress='" + storeAddress + '\'' +
                ", storeBanner='" + storeBanner + '\'' +
                ", storeLogo='" + storeLogo + '\'' +
                ", description='" + description + '\'' +
                ", distance='" + distance + '\'' +
                ", sales='" + sales + '\'' +
                ", orders='" + orders + '\'' +
                ", followers='" + followers + '\'' +
                '}';
    }
}
